<?php
/**
 * 品牌
 * User: lyl
 * Date: 2019-04-29
 */

namespace Biz\module\Classes\WikiClean;

class Brand
{
    /**
     * 执行统一操作
     **/
    public static function run($params, &$data){
        self::_add($params, $data);
    }

    /**
     * 插入表
     **/
    private static function _add($params, &$data){
        //商品对应品牌
        if(isset($data['goods']) && !empty($data['goods'])){
            $data['goods']['brand'] = $params['brand'];
            //$data['brand'] = $params['brand'];
        }
    }

}